<!DOCTYPE html>
<html lang="zh-CN">

	<head>
		<meta charset="utf-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<title>
			<%= htmlWebpackPlugin.options.title %>
		</title>
		<script>
			var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || CSS
				.supports('top: constant(a)'))
			document.write(
				'<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' +
				(coverSupport ? ', viewport-fit=cover' : '') + '" />')
		</script>
		<link rel="stylesheet" href="<%= BASE_URL %>static/index.<%= VUE_APP_INDEX_CSS_HASH %>.css" />
	</head>
	<script type="text/javascript" src="https://res.wx.qq.com/open/js/jweixin-1.6.0.js"></script>
	<script
	  type="text/javascript"
	  src="https://assets.zjzwfw.gov.cn/assets/ZWJSBridge/1.0.1/zwjsbridge.js"
	></script>
	<!-- <script src="https://www.jq22.com/jquery/jquery-1.7.1.js"></script> -->
	<script src="https://gw.alipayobjects.com/as/g/h5-lib/alipayjsapi/3.1.1/alipayjsapi.inc.min.js"></script>
	<script src="https://d.alicdn.com/alilog/mlog/aplus.js?id=202951085"></script>
	<!-- <script src="https://zjjcmspublic.oss-cn-hangzhou-zwynet-d01-a.internet.cloud.zj.gov.cn/jcms_files/jcms1/web1/site/script/1308/2109061849141316.js"></script> -->
	<script type="text/javascript">
		var ua = navigator.userAgent.toLowerCase();
		if (ua.match(/MicroMessenger/i) == "micromessenger") {
			//ios的ua中无miniProgram，但都有MicroMessenger（表示是微信浏览器）
			const wexin = wx
			wexin.miniProgram.getEnv((res) => {
				if (res.miniprogram) {
					localStorage.setItem('weixin', 2)
				} else {
					localStorage.setItem('weixin', 1)
				}
			})
		} else {
			const bIsDtDreamApp = ua.indexOf("dtdreamweb") > -1; // 浙里办APP
			const bIsAlipayMini =
			  ua.indexOf("miniprogram") > -1 &&
			  ua.indexOf("alipay") > -1;
			// 浙里办支付宝小程序
			if (bIsDtDreamApp) {
				localStorage.setItem('weixin', 3)  //浙里办app
			} else if (bIsAlipayMini) {
				localStorage.setItem('weixin', 4) //支付宝浙里办app
			}else{
				localStorage.setItem('weixin', -1) //普通浏览器
			}
			(function(w,d,s,q,i){
			    w[q]=w[q]||[];
			    var f=d.getElementsByTagName(s)[0],j=d.createElement(s);
			    j.async=true;
			    j.id='beacon-aplus';
			    j.src='https://d.alicdn.com/alilog/mlog/aplus.js?id=202951085';
			    f.parentNode.insertBefore(j,f);
			    })(window,document,'script','aplus_queue');
			    //如果是私有云部署还需要在上面那段JS后面紧接着添加日志域名埋点
			    //通常私有云日志服务端域名类似于：quickaplus-web-api.xxx.com.cn，具体域名需找交付同学要
			    aplus_queue.push({
			    action:'aplus.setMetaInfo',
			    arguments:['aplus-rhost-v','alog.zjzwfw.gov.cn']
			    });
			    aplus_queue.push({
			    action:'aplus.setMetaInfo',
			    arguments:['aplus-rhost-g','alog.zjzwfw.gov.cn']
			    });
			    //这个会落到app_key字段上
			    aplus_queue.push({
			    action:'aplus.setMetaInfo',
			    arguments:['appId','60506758']
			    });
			    aplus_queue.push({
			    action:'aplus.setMetaInfo',
			    arguments:['aplus-waiting','MAN']
			    });
			    aplus_queue.push({
			    action: 'aplus.sendPV',
			    arguments:[{
			    is_auto:false,
			    },{
			    isMini:true,
			    miniAppId: '2001812921',
			    miniAppName: '邻里停',
			    }]
			});
		}
	</script>
	<body>
		<noscript>
			<strong>Please enable JavaScript to continue.</strong>
		</noscript>
		<div id="app"></div>
		<!-- built files will be auto injected -->
	</body>

</html>
